<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>XMS AE-API</title>
<link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/global.css">
<link href="/css/font-awesome.min.css" rel="stylesheet">
<link href="/css/jquery-confirm.min.css" rel='stylesheet' type='text/css' />
<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
<script src="/js/jquery-confirm.min.js"></script>
<script src="/js/common.js"></script>
</head>
<body>
	<%@include file="inc/menu-nav.jsp" %>
	<div class="container">
		<h3 class="head-title">设置</h3>
		<fieldset>
			<legend>开关</legend>
			<form class="form-group" action="/settings/save" method="post">
				<div class="form-group">
					<label>下发CRM：</label>
					<label class="radio-inline">
						<input type="radio" name="isSendCrm" <c:if test="${isSendCrm }"> checked="checked" </c:if> value="true"> 开启
					</label>
					<label class="radio-inline">
						<input type="radio" name="isSendCrm" <c:if test="${!isSendCrm }"> checked="checked" </c:if> value="false"> 关闭
					</label>
				</div>
				<div class="form-group">
					<label>下发PDS：</label>
					<label class="radio-inline">
						<input type="radio" name="isSendPds" <c:if test="${isSendPds }"> checked="checked" </c:if> value="true"> 开启
					</label>
					<label class="radio-inline">
						<input type="radio" name="isSendPds" <c:if test="${!isSendPds }"> checked="checked" </c:if> value="false"> 关闭
					</label>
				</div>
				<div class="form-group">
					<button type="submit" class="btn btn-danger"> 保存 </button>
				</div>
			</form>
		</fieldset>
		<fieldset>
			<legend>缓存</legend>
			<form class="form-group" action="/settings/cache/refresh" method="post">
				<div class="form-group">
					<button type="submit" class="btn btn-danger"><i class="icon-refresh"></i> 刷新 </button>
				</div>
			</form>
		</fieldset>
	</div>
</body>
<script type="text/javascript">
	
</script>
</html>